home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Source Code / Libraries / WASTE 1.2 / WASTE Demo ƒ / WEDemoMain.c < prev    next >
C/C++ Source or Header  |  1996-05-19  |  327b  |  28 lines

  1. /*
  2.     WASTE Demo Project:
  3.     Main Program
  4.  
  5.     Copyright © 1993-1996 Marco Piovanelli
  6.     All Rights Reserved
  7.  
  8.     C port by John C. Daub
  9. */
  10.  
  11. #ifndef __WEDEMOAPP__
  12. #include "WEDemoIntf.h"
  13. #endif
  14.  
  15. void    main( void );
  16.  
  17. void    main( void )
  18. {
  19.     if ( Initialize() == noErr )
  20.     {
  21.         do
  22.         {
  23.             ProcessEvent();
  24.         } while ( !gExiting );
  25.     }
  26.  
  27.     Finalize();
  28. }